PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Dancer / Blobby Mirror / Waltra - Priority Lane.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.980 |
| 8 | fDecay=0.500 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=6 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=4.100 |
| 26 | fWaveScale=0.010 |
| 27 | fWaveSmoothing=0.900 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=1.459 |
| 32 | fWarpScale=2.007 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99990 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=0.99990 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.650 |
| 45 | wave_g=0.650 |
| 46 | wave_b=0.650 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.010 |
| 50 | ob_r=1.000 |
| 51 | ob_g=1.000 |
| 52 | ob_b=1.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.110 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=12.000 |
| 60 | nMotionVectorsY=9.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.900 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=0.700 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wavecode_1_enabled=0 |
| 89 | wavecode_1_samples=512 |
| 90 | wavecode_1_sep=0 |
| 91 | wavecode_1_bSpectrum=0 |
| 92 | wavecode_1_bUseDots=0 |
| 93 | wavecode_1_bDrawThick=0 |
| 94 | wavecode_1_bAdditive=0 |
| 95 | wavecode_1_scaling=1.00000 |
| 96 | wavecode_1_smoothing=0.50000 |
| 97 | wavecode_1_r=1.000 |
| 98 | wavecode_1_g=1.000 |
| 99 | wavecode_1_b=1.000 |
| 100 | wavecode_1_a=1.000 |
| 101 | wavecode_2_enabled=0 |
| 102 | wavecode_2_samples=512 |
| 103 | wavecode_2_sep=0 |
| 104 | wavecode_2_bSpectrum=0 |
| 105 | wavecode_2_bUseDots=0 |
| 106 | wavecode_2_bDrawThick=0 |
| 107 | wavecode_2_bAdditive=0 |
| 108 | wavecode_2_scaling=1.00000 |
| 109 | wavecode_2_smoothing=0.50000 |
| 110 | wavecode_2_r=1.000 |
| 111 | wavecode_2_g=1.000 |
| 112 | wavecode_2_b=1.000 |
| 113 | wavecode_2_a=1.000 |
| 114 | wavecode_3_enabled=0 |
| 115 | wavecode_3_samples=512 |
| 116 | wavecode_3_sep=0 |
| 117 | wavecode_3_bSpectrum=0 |
| 118 | wavecode_3_bUseDots=0 |
| 119 | wavecode_3_bDrawThick=0 |
| 120 | wavecode_3_bAdditive=0 |
| 121 | wavecode_3_scaling=1.00000 |
| 122 | wavecode_3_smoothing=0.50000 |
| 123 | wavecode_3_r=1.000 |
| 124 | wavecode_3_g=1.000 |
| 125 | wavecode_3_b=1.000 |
| 126 | wavecode_3_a=1.000 |
| 127 | shapecode_0_enabled=1 |
| 128 | shapecode_0_sides=44 |
| 129 | shapecode_0_additive=0 |
| 130 | shapecode_0_thickOutline=0 |
| 131 | shapecode_0_textured=0 |
| 132 | shapecode_0_num_inst=1 |
| 133 | shapecode_0_x=0.500 |
| 134 | shapecode_0_y=0.500 |
| 135 | shapecode_0_rad=0.03347 |
| 136 | shapecode_0_ang=0.00000 |
| 137 | shapecode_0_tex_ang=0.00000 |
| 138 | shapecode_0_tex_zoom=1.00000 |
| 139 | shapecode_0_r=1.000 |
| 140 | shapecode_0_g=1.000 |
| 141 | shapecode_0_b=1.000 |
| 142 | shapecode_0_a=1.000 |
| 143 | shapecode_0_r2=1.000 |
| 144 | shapecode_0_g2=1.000 |
| 145 | shapecode_0_b2=1.000 |
| 146 | shapecode_0_a2=0.000 |
| 147 | shapecode_0_border_r=1.000 |
| 148 | shapecode_0_border_g=1.000 |
| 149 | shapecode_0_border_b=1.000 |
| 150 | shapecode_0_border_a=0.000 |
| 151 | shape_0_init1=fran = 1; |
| 152 | shape_0_init2=xs = 1; |
| 153 | shape_0_init3=ys = 1; |
| 154 | shape_0_init4=xm = 0.5; |
| 155 | shape_0_init5=ym = 0.5; |
| 156 | shape_0_per_frame1=xs = xs*(1 - 2*above(xm,0.99) - 2*below(xm,0.01)); |
| 157 | shape_0_per_frame2=ys = ys*(1 - 2*above(ym,0.99) - 2*below(ym,0.01)); |
| 158 | shape_0_per_frame3= |
| 159 | shape_0_per_frame4=xm = xm + 0.03*xs*(sin(time*0.53)*0.4 + 0.6*cos(time*0.62)); |
| 160 | shape_0_per_frame5=ym = ym + 0.03*ys*(sin(time*0.29)*0.5 + 0.5*cos(time*0.78)); |
| 161 | shape_0_per_frame6= |
| 162 | shape_0_per_frame7=x = xm; |
| 163 | shape_0_per_frame8=y = ym; |
| 164 | shape_0_per_frame9= |
| 165 | shape_0_per_frame10=r = 0.5 + 0.25*sin(x*12) + 0.25*sin(y*3); |
| 166 | shape_0_per_frame11=g = 0.5 + 0.25*sin(x*7) + 0.25*sin(y*32); |
| 167 | shape_0_per_frame12=b = 0.5 + 0.25*sin(x*21) + 0.25*sin(y*16); |
| 168 | shape_0_per_frame13=r2 = r; g2 = g; b2 = b; |
| 169 | shape_0_per_frame14=rad = 0.2*(bass_att + mid_att + treb_att)/3; |
| 170 | shapecode_1_enabled=1 |
| 171 | shapecode_1_sides=44 |
| 172 | shapecode_1_additive=0 |
| 173 | shapecode_1_thickOutline=0 |
| 174 | shapecode_1_textured=0 |
| 175 | shapecode_1_num_inst=1 |
| 176 | shapecode_1_x=0.500 |
| 177 | shapecode_1_y=0.500 |
| 178 | shapecode_1_rad=0.03347 |
| 179 | shapecode_1_ang=0.00000 |
| 180 | shapecode_1_tex_ang=0.00000 |
| 181 | shapecode_1_tex_zoom=1.00000 |
| 182 | shapecode_1_r=1.000 |
| 183 | shapecode_1_g=1.000 |
| 184 | shapecode_1_b=1.000 |
| 185 | shapecode_1_a=1.000 |
| 186 | shapecode_1_r2=1.000 |
| 187 | shapecode_1_g2=1.000 |
| 188 | shapecode_1_b2=1.000 |
| 189 | shapecode_1_a2=0.000 |
| 190 | shapecode_1_border_r=1.000 |
| 191 | shapecode_1_border_g=1.000 |
| 192 | shapecode_1_border_b=1.000 |
| 193 | shapecode_1_border_a=0.000 |
| 194 | shape_1_init1=fran = 1; |
| 195 | shape_1_init2=xs = 1; |
| 196 | shape_1_init3=ys = 1; |
| 197 | shape_1_init4=xm = 0.5; |
| 198 | shape_1_init5=ym = 0.5; |
| 199 | shape_1_per_frame1=xs = xs*(1 - 2*above(xm,0.99) - 2*below(xm,0.01)); |
| 200 | shape_1_per_frame2=ys = ys*(1 - 2*above(ym,0.99) - 2*below(ym,0.01)); |
| 201 | shape_1_per_frame3= |
| 202 | shape_1_per_frame4=xm = xm + 0.03*xs*(sin(time*0.53)*0.6 + 0.4*cos(time*0.62)); |
| 203 | shape_1_per_frame5=ym = ym + 0.03*ys*(sin(time*0.29)*0.7 + 0.3*cos(time*0.78)); |
| 204 | shape_1_per_frame6= |
| 205 | shape_1_per_frame7=x = xm; |
| 206 | shape_1_per_frame8=y = ym; |
| 207 | shape_1_per_frame9= |
| 208 | shape_1_per_frame10=r = 0.5 + 0.25*sin(x*12) + 0.25*sin(y*3); |
| 209 | shape_1_per_frame11=g = 0.5 + 0.25*sin(x*7) + 0.25*sin(y*32); |
| 210 | shape_1_per_frame12=b = 0.5 + 0.25*sin(x*21) + 0.25*sin(y*16); |
| 211 | shape_1_per_frame13=r2 = r; g2 = g; b2 = b; |
| 212 | shape_1_per_frame14=rad = 0.2*(bass_att + mid_att + treb_att)/3; |
| 213 | shapecode_2_enabled=0 |
| 214 | shapecode_2_sides=44 |
| 215 | shapecode_2_additive=0 |
| 216 | shapecode_2_thickOutline=0 |
| 217 | shapecode_2_textured=0 |
| 218 | shapecode_2_num_inst=1 |
| 219 | shapecode_2_x=0.500 |
| 220 | shapecode_2_y=0.500 |
| 221 | shapecode_2_rad=0.03347 |
| 222 | shapecode_2_ang=0.00000 |
| 223 | shapecode_2_tex_ang=0.00000 |
| 224 | shapecode_2_tex_zoom=1.00000 |
| 225 | shapecode_2_r=1.000 |
| 226 | shapecode_2_g=1.000 |
| 227 | shapecode_2_b=1.000 |
| 228 | shapecode_2_a=1.000 |
| 229 | shapecode_2_r2=1.000 |
| 230 | shapecode_2_g2=1.000 |
| 231 | shapecode_2_b2=1.000 |
| 232 | shapecode_2_a2=0.000 |
| 233 | shapecode_2_border_r=1.000 |
| 234 | shapecode_2_border_g=1.000 |
| 235 | shapecode_2_border_b=1.000 |
| 236 | shapecode_2_border_a=0.000 |
| 237 | shape_2_init1=fran = 1; |
| 238 | shape_2_init2=xs = 1; |
| 239 | shape_2_init3=ys = 1; |
| 240 | shape_2_init4=xm = 0.5; |
| 241 | shape_2_init5=ym = 0.5; |
| 242 | shape_2_per_frame1=xs = xs*(1 - 2*above(xm,0.99) - 2*below(xm,0.01)); |
| 243 | shape_2_per_frame2=ys = ys*(1 - 2*above(ym,0.99) - 2*below(ym,0.01)); |
| 244 | shape_2_per_frame3= |
| 245 | shape_2_per_frame4=xm = xm + 0.03*xs*(sin(time*0.35)*0.5 + 0.5*cos(time*0.87)); |
| 246 | shape_2_per_frame5=ym = ym + 0.03*ys*(sin(time*0.92)*0.3 + 0.7*cos(time*0.26)); |
| 247 | shape_2_per_frame6= |
| 248 | shape_2_per_frame7=x = xm; |
| 249 | shape_2_per_frame8=y = ym; |
| 250 | shape_2_per_frame9= |
| 251 | shape_2_per_frame10=r = 0.5 + 0.5*sin(time*0.25); |
| 252 | shape_2_per_frame11=g = 0.5 + abs(r)*sin(time*0.5); |
| 253 | shape_2_per_frame12=b = 0.5 + abs(g)*sin(time); |
| 254 | shape_2_per_frame13=r2 = r; g2 = g; b2 = b; |
| 255 | shape_2_per_frame14=rad = 1.6*(bass_att + mid_att + treb_att)/3; |
| 256 | shapecode_3_enabled=0 |
| 257 | shapecode_3_sides=4 |
| 258 | shapecode_3_additive=0 |
| 259 | shapecode_3_thickOutline=0 |
| 260 | shapecode_3_textured=0 |
| 261 | shapecode_3_num_inst=1 |
| 262 | shapecode_3_x=0.500 |
| 263 | shapecode_3_y=0.500 |
| 264 | shapecode_3_rad=0.10000 |
| 265 | shapecode_3_ang=0.00000 |
| 266 | shapecode_3_tex_ang=0.00000 |
| 267 | shapecode_3_tex_zoom=1.00000 |
| 268 | shapecode_3_r=1.000 |
| 269 | shapecode_3_g=0.000 |
| 270 | shapecode_3_b=0.000 |
| 271 | shapecode_3_a=1.000 |
| 272 | shapecode_3_r2=0.000 |
| 273 | shapecode_3_g2=1.000 |
| 274 | shapecode_3_b2=0.000 |
| 275 | shapecode_3_a2=0.000 |
| 276 | shapecode_3_border_r=1.000 |
| 277 | shapecode_3_border_g=1.000 |
| 278 | shapecode_3_border_b=1.000 |
| 279 | shapecode_3_border_a=0.100 |
| 280 | per_frame_1=dec_med = pow (0.9, 30/fps); |
| 281 | per_frame_2=dec_slow = pow (0.99, 30/fps); |
| 282 | per_frame_3=beat = max (max (bass, mid), treb); |
| 283 | per_frame_4=avg = avg*dec_slow + beat*(1-dec_slow); |
| 284 | per_frame_5=is_beat = above(beat, .5+avg+peak) * above (time, t0+.2); |
| 285 | per_frame_6=t0 = is_beat*time + (1-is_beat)*t0; |
| 286 | per_frame_7=peak = is_beat * beat + (1-is_beat)*peak*dec_med; |
| 287 | per_frame_8=index = (index + is_beat) %8; |
| 288 | per_frame_9=index2 = (index2 + is_beat*bnot(index))%8; |
| 289 | per_frame_10=index3 = (index3 + is_beat*bnot(index)*bnot(index2))%3; |
| 290 | per_frame_11= |
| 291 | per_frame_12=q20 = avg; |
| 292 | per_frame_13=q21 = beat; |
| 293 | per_frame_14=q22 = peak; |
| 294 | per_frame_15=q23 = index; |
| 295 | per_frame_16=q24 = is_beat; |
| 296 | per_frame_17=q26 = bass + mid + treb + 1; |
| 297 | per_frame_18=q27 = index + 1; |
| 298 | per_frame_19=q28 = index2+1; |
| 299 | per_frame_20= |
| 300 | per_frame_21=k1 = is_beat*equal(index%2,0); |
| 301 | per_frame_22=p1 = k1*(p1+1) + (1-k1)*p1; |
| 302 | per_frame_23=p2 = dec_med * p2+ (1-dec_med)*p1; |
| 303 | per_frame_24=rott = p2 * 3.1416/4; |
| 304 | per_frame_25= |
| 305 | per_frame_26=q1 = cos(rott); |
| 306 | per_frame_27=q2 = sin(rott); |
| 307 | per_frame_28=q3 = -q2; |
| 308 | per_frame_29=q4 = q1; |
| 309 | per_frame_30= |
| 310 | per_frame_31=movex = movex + .03*30/fps; |
| 311 | per_frame_32=q29 = movex; |
| 312 | per_frame_33=movez = movez + .07*30/fps; |
| 313 | per_frame_34=q30 = movez; |
| 314 | per_frame_35= |
| 315 | per_frame_36=crawl = crawl + .001*(2+q22)*30/fps; |
| 316 | per_frame_37=q31 = crawl; |
| 317 | per_frame_38= |
| 318 | per_frame_39=q32 = 2 + sin(time/7); |
| 319 | per_frame_40=monitor = index2; |
| 320 | per_pixel_1=zoom = 1.0; |
| 321 | warp_1=`sampler sampler_pw_noise_lq; |
| 322 | warp_2=`float3 crisp,dx,dy,ret1; |
| 323 | warp_3=`float2 zz, uv1,uv2; |
| 324 | warp_4=`float n1,n2,n3,n4,zv,z, noise, k1, wave; |
| 325 | warp_5=`static float2 sunpos = float2 (0*sin(time/3),-.0); |
| 326 | warp_6=`static float2x2 ofs = float2x2 (texsize.z,0,0,texsize.w)*4; |
| 327 | warp_7=`static float3 suncol = 1+normalize(slow_roam_cos); |
| 328 | warp_8=`float3 cloud (float2 uv_in) { |
| 329 | warp_9=`return (.2+(1+bass_att)*.01/length(uv_in-sunpos)*suncol+(rand_preset.z-.5)*uv_in.y);} |
| 330 | warp_10=` |
| 331 | warp_11=`shader_body { |
| 332 | warp_12=` |
| 333 | warp_13=`float2 uv1 = float2(uv.x-0.5+q19,uv.y-0.5);//*aspect.xy; |
| 334 | warp_14=` |
| 335 | warp_15=`dx = tex2D(sampler_main,uv+ofs[0]) - tex2D(sampler_main,uv-ofs[0]); |
| 336 | warp_16=`dy = tex2D(sampler_main,uv+ofs[1]) - tex2D(sampler_main,uv-ofs[1]); |
| 337 | warp_17=`zz = float2(dx.b,dy.b); |
| 338 | warp_18=` |
| 339 | warp_19=`//clouds |
| 340 | warp_20=`zv = time*.06 ; |
| 341 | warp_21=`zv = time*.08+ .0*GetPixel(uv); //## |
| 342 | warp_22=`uv2 = 3*uv1+ float2(0.02*time,-.05*time); |
| 343 | warp_23=` |
| 344 | warp_24=`n1 = tex3D(sampler_noisevol_hq,float3 (uv2.x,uv2.y,zv)).b; |
| 345 | warp_25=`n2 = tex3D(sampler_noisevol_hq,float3 (uv2.x*2,uv2.y*2,zv*2)).b; |
| 346 | warp_26=`n3 = tex3D(sampler_noisevol_hq,float3 (uv2.x*4,uv2.y*4,zv*3)).b; |
| 347 | warp_27=`n4 = tex3D(sampler_noisevol_hq,float3 (uv2.x*8,uv2.y*8,zv*7)).b; |
| 348 | warp_28=`noise = n1 + n2/2 + n3/4 + n4/8 -1; |
| 349 | warp_29=`noise = pow(noise,1); |
| 350 | warp_30=`uv2 = uv1+noise*.1; |
| 351 | warp_31=` |
| 352 | warp_32=`//******************************* |
| 353 | warp_33=`ret1 = cloud(uv2); |
| 354 | warp_34=`float k1 = .1; |
| 355 | warp_35=`ret = ret1*k1/2 + GetPixel(uv-.02*zz)*(1-k1)-.01; |
| 356 | warp_36=` |
| 357 | warp_37=`//ret = 0; |
| 358 | warp_38=`} |
| 359 | comp_1=`float3 ret1, neu, crisp, blur; |
| 360 | comp_2=`float2 uv2, uv3; |
| 361 | comp_3=` |
| 362 | comp_4=`shader_body |
| 363 | comp_5=`{ |
| 364 | comp_6=`float ang2, c, s; |
| 365 | comp_7=`uv -= 0.5; |
| 366 | comp_8=`uv *= aspect.xy; |
| 367 | comp_9=` |
| 368 | comp_10=`float2 tmp = uv; |
| 369 | comp_11=`float dist = 1; |
| 370 | comp_12=`float inten = 1; |
| 371 | comp_13=`float mask = 0; |
| 372 | comp_14=`ret1 = 0; |
| 373 | comp_15=`int anz = 3; |
| 374 | comp_16=`float n = 0; |
| 375 | comp_17=`float t_rel = q29; |
| 376 | comp_18=`while (n <= anz) { |
| 377 | comp_19=` ang2 = 6.28*n/anz+q30; |
| 378 | comp_20=` c = cos(ang2); |
| 379 | comp_21=` s = sin(ang2); |
| 380 | comp_22=` uv2.x = uv.x*c - uv.y*s; |
| 381 | comp_23=` uv2.y = uv.x*s + uv.y*c; |
| 382 | comp_24=` uv2*= aspect.yx; |
| 383 | comp_25=` |
| 384 | comp_26=` dist = 1-frac(n/anz+t_rel); //evtl sqrt ! |
| 385 | comp_27=` |
| 386 | comp_28=` inten = 4*dist*(1-dist*dist); |
| 387 | comp_29=` uv3 = 3*uv2*dist + 0.5+.0*float2(q5,q6); |
| 388 | comp_30=` crisp = GetPixel(uv3); |
| 389 | comp_31=` blur = GetBlur1(frac(uv3)) * float3 (.8,.9,1); |
| 390 | comp_32=` ret1 = max(ret1,(crisp+blur)*inten); |
| 391 | comp_33=`n++; |
| 392 | comp_34=`} |
| 393 | comp_35=` |
| 394 | comp_36=` |
| 395 | comp_37=`float3 ret1 = ret1 ; |
| 396 | comp_38=`//ret1 = GetPixel(.5+uv_orig*aspect.yx*1.2); |
| 397 | comp_39=` |
| 398 | comp_40=` |
| 399 | comp_41=`ret = ret1-.1; |
| 400 | comp_42=` |
| 401 | comp_43=`} |